package cn.edu.lingnan.lsqn.model;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 *根据用户所在组的不同呈现不同的菜单栏目 
 */
@Entity
@Table(name = "t_group")
public class Group {
	public Group(){
		
	}
	
	
	public Group(String name, String descr) {
		this.name = name;
		this.descr = descr;
	}

	private int id;
	private String name;
	private String descr;

	@Id
	@GeneratedValue
	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getDescr() {
		return descr;
	}

	public void setDescr(String descr) {
		this.descr = descr;
	}
}
